<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	
    
	<p:dialog modal="true" widgetVar="statusDialog" header="#{messages['portal.mask.label']}" 
			width="245" hideEffect="puff"
	        draggable="false" closable="false" resizable="false" style="text-align:center;">  
	    <p:graphicImage value="/img/misc/ajaxloadingbar.gif" />  
	</p:dialog>
	
	<p:confirmDialog message="msg" styleClass="portal-confirmation"
    	showEffect="bounce" hideEffect="puff" id="confirm_dialog"
    	header="header" severity="alert" widgetVar="confirmation">
        <p:commandButton value="确定" onclick="confirmation.hide()" type="button" />   
    </p:confirmDialog>
    
    <p:confirmDialog message="msg" styleClass="portal-confirmation"
    	showEffect="bounce" hideEffect="puff" id="confirm_dialog2"
    	header="header" severity="alert" widgetVar="confirmation2">
        <p:commandButton value="确定" onclick="SinoPortal.Confirm.showConfirmSubmit()" type="button" />
        <p:commandButton value="取消" onclick="confirmation2.hide()" type="button" />
    </p:confirmDialog>
    
    <h:form style="margin:0;" id="portalForm">
    	<p:remoteCommand id="portalCommand" name="portalCmd" actionListener="#{portalAction.buttonAction}" />
    </h:form>

</f:view>   